package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_delivery_account_state;

import cn.com.api.mapper.ApiT_delivery_account_stateMapper;

import cn.com.api.service.ApiT_delivery_account_stateService;

/**
 * 
 **/
@Service
public class T_delivery_account_stateServiceImplBase {
	@Autowired
	private ApiT_delivery_account_stateMapper apiT_delivery_account_stateMapper;
    
    // 根据id获取
	public ApiT_delivery_account_state findT_delivery_account_stateById(Integer id){
		ApiT_delivery_account_state t_delivery_account_state = apiT_delivery_account_stateMapper.findT_delivery_account_stateById( id );
		return t_delivery_account_state;
	}
    
    //查看数据集
	public List<ApiT_delivery_account_state> findT_delivery_account_states(){
        List<ApiT_delivery_account_state> t_delivery_account_states = apiT_delivery_account_stateMapper.findT_delivery_account_states();
		return t_delivery_account_states;
    }
    
	// 添加
	public int insertT_delivery_account_state(ApiT_delivery_account_state t_delivery_account_state){
		int ret_I= apiT_delivery_account_stateMapper.insertT_delivery_account_state(t_delivery_account_state);
		return ret_I;
	}

	// 修改
	public int updateT_delivery_account_state(ApiT_delivery_account_state t_delivery_account_state){
		int ret_I= apiT_delivery_account_stateMapper.updateT_delivery_account_state(t_delivery_account_state);
		return ret_I;
	}
	
    // 删除
	public int deleteT_delivery_account_state(Integer id){
		int ret_I= apiT_delivery_account_stateMapper.deleteT_delivery_account_state( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


